<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>

<!-- Modal -->
<div class="modal show" id="addProductFamily" tabindex="-1"
	role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content">
			<form:form cssClass="form-horizontal" role="form" method="POST"
				modelAttribute="upPrestation">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"
						aria-hidden="true">&times;</button>
					<h4 class="modal-title" id="myModalLabel">Modifier Prestation</h4>
				</div>
				<div class="modal-body">

					<form:errors path="*" cssClass="error" element="div" />


					<div class="form-group">
						<label class="col-sm-3 control-label">Nom Prestation</label>
						<div class="col-sm-7">
							<form:input path="prestationName" class="form-control"
								placeholder="Nom Prestation" />
						</div>
					</div>

					<div class="form-group">
						<label class="col-sm-3 control-label">Description</label>
						<div class="col-sm-7">
							<form:textarea path="description" class="form-control"
								placeholder="Description" />

						</div>
					</div>


				</div>

				<div class="modal-footer">


					<div class="form-group">
						<div class="col-sm-offset-2 col-sm-10">

							<form:button type="submit" class="btn btn-success btn-primary">Modifier</form:button>
							<a href="<c:url value="/prestations" />"><button
									class="btn btn-success btn-default">Annuler</button></a>

						</div>
					</div>

				</div>
			</form:form>
		</div>
	</div>
</div>
<!-- Modal End -->